package com.ruoyi.community.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查询对象 police_list
 * 
 * @author ruoyi
 * @date 2022-04-25
 */
public class PoliceList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 警察id */
    private Long policeId;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 社区id */
    @Excel(name = "社区id")
    private Long communityId;

    public void setPoliceId(Long policeId) 
    {
        this.policeId = policeId;
    }

    public Long getPoliceId() {
        return policeId;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getName()
    {
        return name;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("policeId", getPoliceId())
            .append("phonenumber", getPhonenumber())
            .append("name", getName())
            .append("memo", getMemo())
            .append("communityId", getCommunityId())
            .toString();
    }
}
